import myaxios from "../MyAxios";
import BASEURL from "../BaseUrl";
const { BMDURL } = BASEURL;

const indexApi = {
  /**
   * 根据类型id查询游戏类别
   * @param {object} params 
   * @returns 
   */
  type(params){
    return myaxios.get(BMDURL+'/game_type',params) 
  },
  /**
   * 分页查询
   * @param {object} params 
   * @returns 
   */
  game_name(params) {
    return myaxios.get(BMDURL + "/game_name/pic",params);
  },
  /**
   * 查询大图
   * @param {*} params 
   * @returns 
   */
  gamebpic(params){
    return myaxios.get(BMDURL +'/game_deta/pic',params)
  }
};
export default indexApi;
